<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>第一个人js的效果</title>
	<style>
	#div1{
		height: 150px;
		width: 80px;
		background-color: #ccc;
		border:1px solid #999;
		display:none;
	}

	</style>
</head>
<body>


<input type="checkbox" onmouseover="document.getElementById('div1'). style.display='block';"
onmouseout="document.getElementById('div1').style.display='none';"/>
<div id="div1">
	为了您的安全
</div>

	
</body>
</html>